package com.wu.vo;

import lombok.Data;

import java.util.List;

@Data
public class ProductCategoryVo {

    private Integer id;

    private String name;

    private List<ProductCategoryVo> children;


    //2.这是为了给前端传递照片后加的两个Img
    private String bannerImg;

    private String topImg;

    //3.这是我们要把每一分类的包含的商品给整合上去，所以机上这个
    private List<ProductVO> productVOList;

    public ProductCategoryVo(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
